﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

namespace Strongshell.Recoil.Tests.Utility
{
    public sealed class ExpressionUtilities
    {
        public static Expression CreateFromLambda<TResult>(Expression<Func<TResult>> lambda)
        {
            return lambda.Body;
        }

        public static Expression CreateFromLambda(Expression<Action> lambda)
        {
            return lambda.Body;
        }
    }
}
